package cn.getech.data.metadata.mapper;

import cn.getech.data.metadata.entity.CollectionSystemModuleEntity;
import cn.getech.data.metadata.model.res.CollectionSystemModuleRes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 系统模块
 * 
 * @author qiuxinglei
 * @email qiuxinglei@gmail.com
 * @date 2020-09-29 15:30:41
 */
@Mapper
public interface CollectionSystemModuleMapper extends BaseMapper<CollectionSystemModuleEntity> {
	List<CollectionSystemModuleRes> listAll(Map<String, Object> params);

	IPage<CollectionSystemModuleRes> selectListPage(Page<CollectionSystemModuleRes> page, @Param("params") Map<String, Object> params);

    int insertModule(CollectionSystemModuleEntity entity);
}
